package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 出差日记，记录出差的信息
    */
public class TravelLog implements Serializable {
    private Integer id;

    /**
    * 申请表id
    */
    private Integer tracelApplicationId;

    /**
    * 出差人员id
    */
    private Integer staffId;

    /**
    * 时间
    */
    private Date time;

    /**
    * 内容
    */
    private String content;

    /**
    * 修改人
    */
    private Integer updateStaffId;

    /**
    * 修改时间
    */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTracelApplicationId() {
        return tracelApplicationId;
    }

    public void setTracelApplicationId(Integer tracelApplicationId) {
        this.tracelApplicationId = tracelApplicationId;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tracelApplicationId=").append(tracelApplicationId);
        sb.append(", staffId=").append(staffId);
        sb.append(", time=").append(time);
        sb.append(", content=").append(content);
        sb.append(", updateStaffId=").append(updateStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}